<?php echo 'welcome my php host'; ?><br />

<?php
$name="sol zhang";
$data_feed = array('aaa','bbb','ccccc');
echo "my name is $name";
?>

<select >
	<?php
		foreach( $data_feed as $data ){
	?>
	<option><?php echo $data ?></option>
	<?php
	}
	?>
</select>
<br />
<table >
<thead>
<tr><td>Name</td><td>Size</td></tr>
</thead>
<tbody>
<?php
foreach (glob("*.php") as $filename) {
?>
	<tr>
		<td><a href="read_file.php?name=<?php echo $filename ?>"><?php echo $filename ?></a></td>
		<td><?php echo filesize($filename) ?></td>
	</tr>
<?php	
}
?>
</tbody>
</table>

<br />
<form action="thankyou.php" method="post" >
	Name:<input type='text' name="name" size='25' /><br />
	Age: <input type='text' name="age" size='10' /><br />
	<input type='submit' value="Register" />
</form>

<br />
<a href="show_art.php" >Show Art...</a>

<br />
<?php
   echo date('Y-m-d H:i:s');
?>
